package po;
/**
 * 交易新闻
 * @author foxlikun
 *
 */
public class EduNew {

	//唯一标示
	private Long nid;
	//标题
	private String title;
	//副标题
	private String subTitle;
	
	//内容
	private String content;
	//图片路径
	private String picPath;
	//是否热点
	private String hot;
	//是否失效
	private String effect;
	//新闻时间
	private String nDate;
	public Long getNid() {
		return nid;
	}
	public void setNid(Long nid) {
		this.nid = nid;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getSubTitle() {
		return subTitle;
	}
	public void setSubTitle(String subTitle) {
		this.subTitle = subTitle;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getPicPath() {
		return picPath;
	}
	public void setPicPath(String picPath) {
		this.picPath = picPath;
	}
	public String getHot() {
		return hot;
	}
	public void setHot(String hot) {
		this.hot = hot;
	}
	public String getEffect() {
		return effect;
	}
	public void setEffect(String effect) {
		this.effect = effect;
	}
	public String getnDate() {
		return nDate;
	}
	public void setnDate(String nDate) {
		this.nDate = nDate;
	}
	
	public static void main(String args[]){
		String c="622609021709859";
	
		int a=0;
		for(int i=0;i<c.length();i++){
			if(i%2==0){
				
				a=a+Integer.parseInt(c.charAt(c.length()-1-i)+"")*2;
				System.out.println(c.charAt(c.length()-1-i)+"");
			}
			else a=Integer.parseInt(c.charAt(c.length()-1-i)+"")+a;
		}
	System.out.println(a);
	
		
	}
	
}
